package com.guli.gulimall.product.filter;

import com.guli.common.utils.R;
import com.guli.common.vo.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.IOException;
import java.util.List;

/**
 * @author 武者
 * @title: FiliterEn
 * @projectName gulimall-zhuan5
 * @description:
 * @date 2022/1/10 21:12
 */
@FeignClient("gulimall-search")
public interface FiliterEn {

    @PostMapping("/upsku")
    public R upSku(@RequestBody List<SkuEsModel> skuEsModels) throws IOException ;


    }
